package com.gskj.statstics.client;

import com.gskj.commonutils.ResultJson;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author : Connor-G 康纳-郭
 * @date : 18:28 20.9.10
 * @Company : http://www.gskj.club
 * @Version : 1.0
 */

@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    /***
     *  根据 当前日期 查询 当前日期注册的人数总和
     * @param day
     * @return
     */
    @GetMapping("/educenter/member/countRegister/{day}")
    public ResultJson countRegister(@PathVariable("day") String day);

}
